home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c++ / 736 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  2.7 KB

  1. From: fjh@mundook.cs.mu.OZ.AU (Fergus Henderson)
  2. Message-ID: <4ic32v$ah@mulga.cs.mu.OZ.AU>
  3. X-Original-Date: 15 Mar 1996 15:41:19 GMT
  4. Path: in2.uu.net!bounce-back
  5. Date: 16 Mar 96 07:42:01 GMT
  6. Approved: fjh@cs.mu.oz.au
  7. Return-Path: <daemon@meeker.UCAR.EDU>
  8. Newsgroups: comp.std.c++
  9. Subject: Re: Conforming compilers should compile STL?
  10. Organization: Comp Sci, University of Melbourne
  11. References: <QQahcw08893.199603150939@relay2.UU.NET>
  12. X-Auth: PGPMoose V1.1 PGP comp.std.c++
  13.     iQBFAgUBMUpw9OEDnX0m9pzZAQGbzgF8DVHkW2qmLADQNa9vFq1uGbxhDXCg2o51
  14.     Qc1gZUDbiM1hRO2V1FAZH5F/gwpUafDE
  15.     =NA7E
  16.  
  17. mslamm@pluto.mscc.huji.ac.il (Zvi Lamm) writes:
  18.  
  19. >What version of the STL source is going to be in the standard?
  20.  
  21. You question indicates some confusion between the standard itself,
  22. which will specify the interface to STL, and implementations of the
  23. standard.  The standard itself won't contain any version of the STL source.
  24. Rather, C++ implementations which aim to conform to the standard will
  25. come with some version of the STL source code.
  26.  
  27. >I ask this since when I asked IBM whether C++/370 will compile the HP STL
  28. >source, I was told to go ahead and check it out myself.
  29. >Now since the compiler is supposed to conform to the proposed standard, I
  30. >thought it MUST compile the STL.
  31.  
  32. What makes you think that the compiler is supposed to conform to the
  33. proposed standard?
  34.  
  35. The fact is that there are NO existing compilers which fully conform
  36. to the draft proposed standard.  Remember, it is only a draft, and
  37. it is still subject to change.  Even when the final version of the
  38. standard is published, I think it will take compiler vendors a while to
  39. produce conforming implementations (or at least almost-conforming --
  40. all sufficiently complex programs contain bugs).
  41.  
  42. I think currently there may be no existing compilers which are
  43. capable of compiling any version of STL which fully conforms to
  44. the draft standard.  So compiler vendors ship with slightly
  45. cut-down implementations of STL, such as the HP version, which do
  46. not quite conform to the draft standard, but which are easier to compile.
  47. Such versions avoid the use of more recently-introduced features such
  48. as template template arguments, default template arguments, and so
  49. forth.
  50.  
  51. --
  52. Fergus Henderson                 WWW: http://www.cs.mu.oz.au/~fjh
  53. fjh@cs.mu.oz.au                  PGP: finger fjh@128.250.37.3
  54. ---
  55. [ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
  56. [ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
  57. [ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
  58. [ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
  59. [ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]
  60.